package com.nebula.dao;

import com.nebula.entity.Navigation;
import com.nebula.entity.RoleNavigation;

import java.util.List;

/**
 * @author CcccX
 * @create 2019-01-16 13:57
 */
public interface INavigationDao extends IBaseDao<Navigation> {
    /**
     * 批量插入
     * @param list RoleNavigation实体类集合
     */
    void insertRoleNavigation(List<RoleNavigation> list);

    //List<RoleNavigation> selectRoleNavigationByNavId();

    /**
     * 删除中间表数据
     * @param navId 导航项ID
     */
    int deleteRoleNavigationByNavId(String navId);
}
